﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>$!config.name-$!title</title>
<link href="skin/gold/css.css" rel="stylesheet" type="text/css">
<SCRIPT language=javascript src="/bbs/bbs/js.js"></script>
<SCRIPT language=javascript src="/bbs/bbsdoc.do?parameter=getRoleJS&cid=$!cid"></script>
<script language="JavaScript">
function gotoPage(n)
{
	location.replace("/bbsdoc.do?parameter=show&&cid=$!cid&page="+n);	
	return false;
}
var yzm_str='<INPUT name=randomCode size=6 maxlength=4><span style="padding-left:0px;"><img src="/bbs/randomCode.do" align="middle"></span>请输入前面图中的四位验证码，字母不区分大小写';
function checkFocus(){ 
if(need_verify==1){
    if(document.getElementById('randomCodeImg').innerHTML==null || document.getElementById('randomCodeImg').innerHTML==''){
      document.getElementById('randomCodeImg').innerHTML=yzm_str;
    }
  }  
 }
function Quoto(id)
{
EditForm.quotid.value=id;
}
function doSave()
{
if(doCheck())
{
if(EditForm.cid.value!="")EditForm.parameter.value="update";
EditForm.submit();
}
}
function doCheck()
{
if(EditForm.title.value=="")
{
alert("标题不能为空！");
EditForm.title.focus();
return false;
}
if(EditForm.content.value=="")
{
alert("内容不能为空！");
EditForm.content.focus();
return false;
}

return true;
}
function doRefresh(obj,file)
{
if(file!="")
{
eval(obj+".value=file");
}
}
function doUploadImg()
{
upImgFrame.EditForm.parentObj.value="EditForm.imgs";
upImgFrame.EditForm.types.value="doc";
upImgFrame.doUpload();
}
function doUpload()
{
upFrame.EditForm.parentObj.value="EditForm.files";
upFrame.EditForm.types.value="doc";
upFrame.doUpload();
}
function init()
{
if(canUploadImg==1)
{
upFilesShow.style.display="";
upImgShow.style.display="";
}
if(need_verify==1){
need_verifySpan.style.display="";
}
if(myUserName!="")
{
usernameSpan.innerText=myUserName;
}
}
</script>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="init();">
#parse("/inc/top.htm")
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="8" class="cn_12px">
  <tr>
    <td height="18"><a href="index.do" target="_top">$!config.name</a>-&gt;<a href="/bbs/bbsdoc.do?parameter=list&&sn=$!dir.sn">$!dir.title</a> <br>
    </td>
    <td><div align="right"> 　 版主：<font color="01309C">$!dir.manager</font></div></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="C9E4FF" class="cn_12px">
  <tr>
    <td height="32">　版面公告：<font color="01309C">$!dir.intro</font></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="3" class="cn_12px">
<form id="ListForm" name="ListForm"  method="post" action="/bbs/bbsdoc.do">		
	<input type="hidden" name="parameter" value="list">	     
	<input type="hidden" name="subCommand" value="">
	<input type="hidden" name="page"   value="$!page">
	<input type="hidden" name="cid"   value="$!cid">
	<input type="hidden" name="dirsn"   value="$!dir.sn">
  <tr>
    <td>搜索 文章标题： 
          <input name="title" type="text" id="title" size="12" value="$!queryTitle">
发表人：
<input name="inputuser" type="text" id="inputuser" size="12" value="$!queryInputUser">
<input name="image" type="image" src="/bbs/images/bbs/bbs_10.gif" width="34" height="19" border="0">
<input name="elite" type="hidden" id="elite"></td>
    <td><div align="center"><a href="/bbs/bbsdoc.do?parameter=new&&sn=$!dir.sn"><img src="/bbs/images/bbs/fatie.gif" width="72" height="21" border="0"></a></div></td>
    <td><div align="right"> [<a href="#reply"><font color="#FF0000">回复</font></a>] [<a href="/bbs/bbsdoc.do?parameter=lastElite&&sn=$!dir.sn"><font color="#FF0000">精华帖</font></a>]　[<a href="/bbs/bbsdoc.do?parameter=show&&cid=$!cid"><font color="#FF0000">版主管理</font></a>]</div></td>
  </tr>
  </form>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7FAFF" class="cn_12px_v20">
  <tr>
  	<td width="132" rowspan="2">
  		<table width="100%" border="0" cellspacing="0" cellpadding="0">
  			<tr>
  				<td><a href="/bbs/bbsuser.do?parameter=show&user=$!encodUserName" target="_blank">$!username</a></td>
  				<td align="right"><a href="/bbs/bbsuser.do?parameter=show&user=$!encodUserName" target="_blank"><img src="/bbs/images/bbs/biao_8.gif" width="13" height="15" alt="IP" border="0" /></a></td>
  			</tr>
  			<tr>
  				<td colspan="2">
  					<img src="$!topicUser.photo" width="120" />
  				</td>
  			</tr>
  			<tr>
  				<td><a href="#">发短消息</a></td>
  				<td><a href="#">加为好友</a></td>
  			</tr>
  		</table>
  	</td>
    <td height="30" bgcolor="#B8D5F1" class="news_text"><strong>　主题：</strong>$!title  [<a href="#" onClick="location.href='/bbs/bbscollections.do?parameter=add&&url='+location.href;return false;">收藏</a>]</td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="1" valign="top"> 
            <table width="100%" border="0" cellspacing="5" cellpadding="0">
                <tr>
                  <td height="20" align="right">&nbsp;<img src="/bbs/images/bbs/biao_5.gif" width="14" height="16"> [<a href="#reply" onClick="javascript:Quoto('$!cid');">引用回复</a>]
                  </td>
                </tr>
            </table>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="6" class="news_text">
              <tr>
                <td>
				#if($tagpic)
	<img src=/images/emot/face$!{tagpic}.gif ></img>
	#end
	$!content
	#if($!CommUtil.hasLength($imgs))
	<br>
	<IMG SRC="$!imgs" border=0 onload="javascript:if(this.width>screen.width*.90)this.width=screen.width*.90"><br>
	#end
	#if($!CommUtil.hasLength($files))
	<br>
	<font color="#FF0000">相关附件下载:</font>
	<a href="$!files" target="_blank"><font color="#0000FF">$!files</font></a><br>
	#end
	<br>	
      </td>
              </tr>
            </table>		    <table width="100%" border="0" cellpadding="0" cellspacing="2" >
              <tr>
                <td align="left">　楼主</td>
              <td align="right">$!modifytime</td>
              </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
  #foreach( $info in $list) 
   <a name="$!info.cid"></a>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7FAFF" class="cn_12px_v20">
  <tr> 
    <td colspan="2" bgcolor="#B8D5F1" class="news_text">&nbsp;</td>
  </tr>
  <tr>
  	<td width="132">
  		<table width="100%" border="0" cellspacing="0" cellpadding="0">
  			<tr>
  				<td><a href="/bbs/bbsuser.do?parameter=show&user=$!info.encodUserName" target="_blank">$!info.username</a></td>
  				<td align="right"><a href="/bbs/bbsuser.do?parameter=show&user=$!info.encodUserName" target="_blank"><img src="/bbs/images/bbs/biao_8.gif" width="13" height="15" alt="IP" border="0" /></a></td>
  			</tr>
  			<tr>
  				<td colspan="2">
  					<img src="$!info.replyUser.photo" width="120" />
  				</td>
  			</tr>
  			<tr>
  				<td><a href="#">发短消息</a></td>
  				<td><a href="#">加为好友</a></td>
  			</tr>
  		</table>
  	</td>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="1" valign="top">  <table width="100%" border="0" cellspacing="5" cellpadding="0">
              <tr>
                <td height="20" align="right">&nbsp;<img src="/bbs/images/bbs/biao_5.gif" width="14" height="16"> [<a href="#reply" onClick="javascript:Quoto('$!info.cid');">引用回复</a>] </td>
              </tr>
          </table>  
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="6" class="news_text">
              <tr> 
                <td valign="top">#if($info.tagpic) <img src=/images/emot/face$!{info.tagpic}.gif >#end 
		$!info.content
		#if($!CommUtil.hasLength($info.imgs))
		<br>
	<IMG SRC="$!info.imgs" border=0 onload="javascript:if(this.width>screen.width*.90)this.width=screen.width*.90"><br>
	#end
	#if($!CommUtil.hasLength($info.files))
	<br>
	<font color="#FF0000">相关附件下载:</font>
	<a href="$!info.files" target="_blank"><font color="#0000FF">$!info.files</font></a><br>
	#end
		  <br>
                </td>
              </tr>
            </table>            <table width="100%" border="0" cellpadding="0" cellspacing="2" >
              <tr> 
                <td align="left">　发言人：<a href="/bbs/bbsuser.do?parameter=show&&user=$!info.encodUserName" target="_blank">$!info.username</a>　楼层：$!info.floor　</td>
              <td align="right"><a href="javascript:ShowUser('$!info.username')"></a><img src="/bbs/images/bbs/biao_8.gif" width="13" height="15"> $!info.modifytime</td>
              </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
#end
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="5" class="cn_12px">
  <tr> 
    <td><span class="text1">共<span class="txt1"><b>$!rows</b></span>条回复 共</span><strong>$!pages</strong><span class="text1">页,目前为第</span><strong>$!page</strong><span class="text1">页</span> 分页：$!gotoPageHTML　    
    </td>
    <td><div align="center"><a href="/bbs/bbsdoc.do?parameter=new&&sn=$!dir.sn"><img src="/bbs/images/bbs/fatie.gif" width="72" height="21" border="0"></a></div></td>
    <td><div align="right"><font color="#FF0000">        [<a href="/bbs/bbsdoc.do?parameter=lastElite&&sn=$!dir.sn">精华帖</a>] 
    [<a href="#" onClick="javascript:location.reload();return false;">刷新</a>]</font></div></td>
  </tr>
</table>
<a name="reply"></a>
<form name="EditForm" method="post" action="/bbs/bbsdoc.do">
 <input type="hidden" name="parameter" value="add">	     
 <input type="hidden" name="subCommand" value="">
 <input type="hidden" name="cid"   value="">
 <input type="hidden" name="dirsn"   value="$!dir.sn">	
 <input name="parentid" type=hidden  value="$!cid">
 <input name="title" type="hidden" class="input3" id="title"  size="40" value="回复主题：$!title">
 <input name="quotid" type="hidden" id="quotid" value="" >
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E8E8E8">
    <tr align="left" bgcolor="#B8D5F1"> 
      <td height="29" colspan="2"><strong>　请在下面输入回复信息<span class="text-red4"></span></strong></td>
    </tr>
	
  
	<tr bgcolor="#FFFFFF"> 
      <td width="11%" align="center" valign="middle" bgcolor="#B8D5F1">        <P align=center><B>表情图片<br>
      </B><B>(<a href="javascript:openScript('/bbs/smiley.htm?start=1',500,400)">加入心情图标</a>)</B></P>
      </td>
      <td><span class="file1">
        <input type="radio" name="tagpic" value="1">
        <img src="/bbs/images/emot/face1.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="2">
        <img src="/bbs/images/emot/face2.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="3">
        <img src="/bbs/images/emot/face3.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="4">
        <img src="/bbs/images/emot/face4.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="5">
        <img src="/bbs/images/emot/face5.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="6">
        <img src="/bbs/images/emot/face6.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="7">
        <img src="/bbs/images/emot/face7.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="8">
        <img src="/bbs/images/emot/face8.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="9">
        <img src="/bbs/images/emot/face9.gif" width="22" height="22"> <br>
        <input type="radio" name="tagpic" value="10">
        <img src="/bbs/images/emot/face10.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="11">
        <img src="/bbs/images/emot/face11.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="12">
        <img src="/bbs/images/emot/face12.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="13">
        <img src="/bbs/images/emot/face13.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="14">
        <img src="/bbs/images/emot/face14.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="15">
        <img src="/bbs/images/emot/face15.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="16">
        <img src="/bbs/images/emot/face16.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="17">
        <img src="/bbs/images/emot/face17.gif" width="22" height="22">
        <input type="radio" name="tagpic" value="18">
        <img src="/bbs/images/emot/face18.gif" width="22" height="22"> </span></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="center" valign="top" bgcolor="#B8D5F1"><br>
      内容：</td>
      <td> <textarea name="content" cols="70" rows="8" class="input3" id="content" onfocus="checkFocus();"></textarea></td>
    </tr>
  <tr bgcolor="#FFFFFF">
     <td height="29" align="right">相关图片：</td>
     <td colspan="2">
       <input name="imgs" type="text" id="imgs" value="" size="70" maxlength="150">
       各图片之间用逗号隔开 </td>
   </tr>
  
  <tr bgcolor="#FFFFFF" id="upImgShow" style="display:none">
    <td height="29" align="right">上传图片：</td>
    <td valign="middle" colspan="2">
      <iframe  name="upImgFrame" style=" vertical-align:middle" id="upImgFrame" src="/bbs/bbsUpload.do" frameborder=0 scrolling=no width="180" height="25"></iframe>&nbsp;&nbsp;<input type="button" name="Submit2" value="上传" onClick="doUploadImg();" style=" vertical-align:middle" ></td>
  </tr>
  
  <tr bgcolor="#FFFFFF">
    <td height="29" align="right">相关附件：</td>
    <td colspan="2"><input name="files" type="text" id="files" value="" size="70" maxlength="150">
      各附件之间用逗号隔开 </td>
  </tr>
  
  <tr bgcolor="#FFFFFF" id="upFilesShow" style="display:none">
    <td height="29" align="right">上传附件：</td>
    <td valign="middle" colspan="2">
      <iframe  name="upFrame" style=" vertical-align:middle" id="upFrame" src="/bbs/bbsUpload.do" frameborder=0 scrolling=no width="180" height="25"></iframe>&nbsp;&nbsp;<input type="button" name="Submit2" value="上传" onClick="doUpload();" style=" vertical-align:middle" >
      (只能传doc、zip、pdf、rar及图片)</td>
  </tr>
 
   <tr align="left" bgcolor="#FFFFFF"> 
      <td align="right">用户名：</td>
    <td>
	<span id="usernameSpan">您还没有［<A class=cblue href="/bbs/bbsuser.do?parameter=reg">
注册</A>］或［<A class=cblue 
href="/bbs/bbsuser.do">登录</A>］</span>
</td>
    </tr>
 
    <tr align="left" bgcolor="#FFFFFF" id="need_verifySpan" style="display:none"> 
      <td align="right">验证码:</td>
    <td><div id=randomCodeImg></div> </td>
    </tr>
	
    <tr bgcolor="#FFFFFF"> 
      <td height="30" bgcolor="#B8D5F1">&nbsp;</td>
      <td bgcolor="#FFFFFF">
        <input type="submit" name="Submit" value="提交"> 
       <input type="reset" name="Submit2" value="重置" return confirm('重置操作将把已录入的所有数据清空，是否要继续该操作?');></td>
    </tr>
  </table>
</form>

<hr align="center" width="98%">
#parse("/inc/foot.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end